import {RandString} from "../../index";

console.log(RandString.get(5, 10));
console.log(RandString.get(5, 10, true));

const seeds = '~!@#$%^&*()_+`-={}|:"<>?[]\\;\',./';
console.log(RandString.getInstance(seeds).get(5, 10));
console.log(RandString.getInstance(seeds).get(5, 10, true));

let str: string = '';
while (10 !== str.length) {
    str = RandString.get(5, 10);
}
console.log(str);
while (5 !== str.length) {
    str = RandString.get(5, 10);
}
console.log(str);
